package mysql

import "gorm.io/gorm"

type Book struct {
	gorm.Model
	UserId int    `gorm:"type:int(50);comment:用户标识"`
	Title  string `gorm:"type:varchar(50);comment:标题"`
	Brief  string `gorm:"type:varchar(50);comment:简介"`
	Img    string `gorm:"type:varchar(50);comment:封面"`
}
